
	<!--providersHessian-spring.xml-------------------------------------------------------------------------->

    <!-- tm${bean.numMain}(t${bean.numMain}${bean.numSub}) ${bean.notesSub}  ${bean.author} ${bean.numTime} -->
    <bean id="${bean.javaFlieName}ServiceProvider" class="com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.${bean.javaFlieName}ServiceImpl" />
    <#list 0..(details)?size-1! as i>
    <!-- tm${bean.numMain}(t${bean.numMain}${bean.numSub})  ${details[i].subName}  ${bean.author} ${bean.numTime} -->
    <bean id="${details[i].javaFlieName}ServiceProvider" class="com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.${details[i].javaFlieName}ServiceImpl" />
    </#list>

    <!--providersHsf-spring.xml-------------------------------------------------------------------------->

    <!-- tm${bean.numMain}（t${bean.numMain}${bean.numSub}） ${bean.notesSub} ${bean.author} ${bean.numTime} -->
    <hsf:provider id="${bean.javaFlieName}ServiceProvider"
        interface="com.flux.tms.tm${bean.numMain}api.${bean.javaFlieName}Service" ref="${bean.javaFlieName}ServiceImpl"
        version="1.0.0" group="${r'${hsf.provider.group}'}">
    </hsf:provider>
    <#list 0..(details)?size-1! as i>
    <!-- tm${bean.numMain}（t${bean.numMain}${bean.numSub}） ${details[i].subName} ${bean.author} ${bean.numTime} -->
    <hsf:provider id="${details[i].javaFlieName}ServiceProvider"
        interface="com.flux.tms.tm${bean.numMain}api.${details[i].javaFlieName}Service" ref="${details[i].javaFlieName}ServiceImpl"
        version="1.0.0" group="${r'${hsf.provider.group}'}">
    </hsf:provider>
    </#list>

    <!--providersImpl-spring.xml-------------------------------------------------------------------------->

    <!-- tm${bean.numMain}(t${bean.numMain}${bean.numSub}) ${bean.notesSub} ${bean.author} ${bean.numTime} -->
     <context:component-scan base-package="com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.dao" />
     <context:component-scan base-package="com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.ctrl" />
     <context:component-scan base-package="com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.service" />
     <bean id="${bean.javaFlieName}ServiceImpl" class="com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.${bean.javaFlieName}ServiceImpl" />
    <#list 0..(details)?size-1! as i>
     <bean id="${details[i].javaFlieName}ServiceImpl" class="com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.${details[i].javaFlieName}ServiceImpl" />
    </#list>
     <!-- tm${bean.numMain}(t${bean.numMain}${bean.numSub}) ${bean.notesSub}  ${bean.author} ${bean.numTime}-->
     <!-- 定义AOP配置 -->
     <aop:config proxy-target-class="true">
        <aop:pointcut id="${bean.javaFlieName}ServiceMethed"
            expression="execution (* com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.service..*(..))" />
        <aop:advisor advice-ref="txAdvice" pointcut-ref="${bean.javaFlieName}ServiceMethed" />
     </aop:config>
    <#list 0..(details)?size-1! as i>
        <!-- tm${bean.numMain}(t${bean.numMain}${bean.numSub})${details[i].subName} ${bean.author} ${bean.numTime}-->
        <!-- 定义AOP配置 -->
    <aop:config proxy-target-class="true">
        <aop:pointcut id="${details[i].javaFlieName}ServiceMethed"
             expression="execution (* com.flux.tms.tm${bean.numMain}srv.t${bean.numMain}${bean.numSub}.impl.service..*(..))" />
        <aop:advisor advice-ref="txAdvice" pointcut-ref="${details[i].javaFlieName}ServiceMethed" />
    </aop:config>
    </#list>